import '@/assets/css/base.css'
import '@/assets/css/index.sass'
import dayjs from '@/dayjs'
import store from '@/store'
import App from '@/views/Login.vue'
import ElementPlus from 'element-plus'
import { createApp } from 'vue'
const app = createApp(App)

if ((process.env.NODE_ENV === 'production') && !/\/\/www\./i.test(location.href)) {
  location.href = location.href.replace(/\/\//i, '//www.')
}

app.use(ElementPlus).use(store).use(dayjs).mount('#app')
